<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master"
Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<%= Html.ValidationSummary() %>

<%
    using (Html.BeginForm("Index","Admin"))
    {%>
    <fieldset>
        <legend> Flickr </legend>
        <label for="FlickrUserName">Flickr User Name</label>
        <%= Html.TextBox("FlickrUserName", null, new { @class = "text" })%>
        <%= Html.ValidationMessage("FlickrUserName")%><br class="clear" />
        <label for="GalleryName">Gallery Name</label>
        <%= Html.TextBox("GalleryName", null, new { @class = "text" })%>
        <%= Html.ValidationMessage("GalleryName")%>
      </fieldset>
      
      <fieldset>
      <legend>Admin Credentials</legend>
        <label for="Username">Admin Username</label>
        <%= Html.TextBox("Username", null, new { @class = "text" })%>
        <%= Html.ValidationMessage("Username")%><br class="clear" />
        <label for="Password">Admin Password</label>
        <%= Html.TextBox("Password", null, new { @class = "text" })%>
        <%= Html.ValidationMessage("Password")%>
      </fieldset>
      
      <fieldset>
      <legend>About <%= Html.ValidationMessage("About")%></legend>
      <div>
        <%= Html.TextArea("About", null, 7, 50, new { @class = "text" })%>
      </div>
      </fieldset>
      
      <input type="submit" class="button" value="Save"/>
    <%} %>

</asp:Content>
